<#assign contentletAPI = variableMacroHelper.contentletAPI />

<div class="layout grid-e190m0s240 fs2 fs">
	<div class="col-main">
		<div class="main-wrap brandRecmd">
			<h3 class="hd">品牌推荐</h3>
			<div class="bd picBox">
			<#assign contents = contentletAPI.getContentContainerListByContainerInFolder(currentPage.folder.inode, 13, 4) />
			<#list contents as content>
            <a href="${currentSite.schemaName}/shop/item?inode=${content.contentletWrapper.inode}&con=13" title="${content.contentletWrapper.title?default("")}" class="item">
				<img width="121" height="184" alt="${content.contentletWrapper.title?default("")}" src="${currentSite.schemaName}${content.contentContainer.fileAsset.path}">
			</a>
			</#list>
			</div>
		</div>
	</div>
	<div class="col-sub dailySpr">
		<h3 class="hd">每日购惊喜</h3>
        <div class="bd">
			<#assign contents = contentletAPI.getContentContainerListByContainerInFolder(currentPage.folder.inode, 12, 2) />
			<#list contents as content>
			<#if content_index == 0>
        	<a title="${content.contentletWrapper.title?default("")}" href="${currentSite.schemaName}/shop/item?inode=${content.contentletWrapper.inode}&con=12">
				<img width="240" height="140" alt="${content.contentletWrapper.title?default("")}" src="${currentSite.schemaName}${content.contentContainer.fileAsset.path}">
			</a>
			</#if>
			<#if content_index == 1>
        	<div class="nextPeriod">
				<a class="imgLink" href="${currentSite.schemaName}/shop/item?inode=${content.contentletWrapper.inode}&con=12">
					<img width="50" height="40" alt="${content.contentletWrapper.title?default("")}" src="${currentSite.schemaName}${content.contentContainer.fileAsset.path}">
					<span class="info">
						<span class="title">${content.contentletWrapper.title?default("")}</span>
						<span class="desc">${content.contentletWrapper.friendlyName?default("")}</span>
					</span>
				</a>
            </div>
			</#if>
			</#list>
        </div>
	</div>
    <div id="J_newcome" class="col-extra newcome">

	<h3 class="hd">新店入驻</h3>
		<div class="ks-switchable-content">
			<#assign contents = contentletAPI.getListByFolderContainerAndDate(currentPage.folder.inode, 14, 1) />
			<#list contents as content>
            <a href="${currentSite.schemaName}/shop/item?inode=${content.contentletWrapper.inode}&con=14" title="${content.contentletWrapper.title?default("")}" class="item">
				<img width="190" height="190" alt="${content.contentletWrapper.title?default("")}" src="${currentSite.schemaName}${content.contentContainer.fileAsset.path}">
			</a>
			</#list>
        </div>
    </div>
</div>

<!-- 横幅广告 -->
<#assign contentContainers = contentletAPI.getContentContainerListByContainerInFolder(currentPage.folder.inode, 11, 1) />
<#if (contentContainers?size > 0)>
<#list contentContainers as contentContainer>
<div data="${contentContainer.contentletWrapper.inode}" class="layout f-poster J_ECPM">
	<#if contentContainer.contentContainer.itemPath?if_exists=="">
	<a href="${currentSite.schemaName}/shop/item?inode=${contentContainer.contentletWrapper.inode}&con=11">
		<img width="990" height="90" border="0"  
			src="http://img.alimama.cn/bcrm/adboard/picture/2011-02-21/110221103423075.jpg">
	</a>
	<#else>
	<a href="${contentContainer.contentContainer.itemPath}">
		<img width="990" height="90" border="0"  
			src="http://img.alimama.cn/bcrm/adboard/picture/2011-02-21/110221103423075.jpg">
	</a>
	</#if>
</div>
</#list>
</#if>